package com.tencent.bugly.beta.global;

import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.util.DisplayMetrics;
import com.tencent.bugly.beta.UpgradeInfo;
import com.tencent.bugly.beta.download.DownloadListener;
import com.tencent.bugly.beta.interfaces.BetaPatchListener;
import com.tencent.bugly.beta.ui.UILifecycleListener;
import com.tencent.bugly.beta.upgrade.BetaUploadStrategy;
import java.io.File;
import java.util.ArrayList;
import java.util.List;

/* compiled from: BUGLY */
/* loaded from: classes.dex */
public class e {
    public static e E = new e();
    public static int a;
    public SharedPreferences A;
    public DisplayMetrics B;
    public BetaUploadStrategy F;
    public File G;
    public File H;
    public File I;
    public BetaPatchListener W;
    public boolean ad;
    public int f;
    public int g;
    public int h;
    public int i;
    public int j;
    public UILifecycleListener<UpgradeInfo> k;
    public File l;
    public int o;
    public com.tencent.bugly.beta.download.b p;
    public DownloadListener q;
    public File r;
    public Context s;
    public File t;
    public String u;
    public String v;
    public PackageInfo z;
    public long b = 3000;
    public long c = 0;
    public boolean d = true;
    public boolean e = true;
    public final List<Class<? extends Activity>> m = new ArrayList();
    public final List<Class<? extends Activity>> n = new ArrayList();
    public int w = Integer.MIN_VALUE;
    public String x = "";
    public String y = "";
    public boolean C = true;
    public boolean D = false;
    public String J = "";
    public String K = "";
    public String L = "";
    public String M = "";
    public boolean N = false;
    public int O = 0;
    public String P = "";
    public boolean Q = false;
    public boolean R = true;
    public boolean S = false;
    public boolean T = false;
    public boolean U = true;
    public boolean V = true;
    public boolean X = false;
    public boolean Y = true;
    public boolean Z = false;
    public final List<String> aa = new ArrayList();
    public boolean ab = false;
    public boolean ac = false;
    public int ae = 1;

    /* JADX WARN: Code restructure failed: missing block: B:42:0x012f, code lost:
        if (r8.t.mkdirs() != false) goto L66;
     */
    /* JADX WARN: Code restructure failed: missing block: B:46:0x013f, code lost:
        if (r8.r.mkdirs() != false) goto L40;
     */
    /* JADX WARN: Removed duplicated region for block: B:33:0x010f  */
    /* JADX WARN: Removed duplicated region for block: B:34:0x0111  */
    /* JADX WARN: Removed duplicated region for block: B:63:0x01cc A[Catch: all -> 0x01f9, TryCatch #0 {, blocks: (B:3:0x0001, B:4:0x000f, B:6:0x0023, B:7:0x0029, B:9:0x0031, B:10:0x0037, B:12:0x004b, B:18:0x0060, B:20:0x0072, B:22:0x0078, B:23:0x0081, B:25:0x009c, B:28:0x00a5, B:30:0x0101, B:37:0x0115, B:39:0x0121, B:41:0x0129, B:43:0x0131, B:45:0x0139, B:61:0x018c, B:63:0x01cc, B:64:0x01d1, B:66:0x01d7, B:67:0x01df, B:69:0x01f0, B:47:0x0141, B:49:0x0159, B:51:0x0161, B:53:0x0165, B:55:0x016d, B:58:0x0183, B:60:0x0189, B:29:0x00de, B:15:0x0057, B:17:0x005d), top: B:75:0x0001, inners: #1, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:66:0x01d7 A[Catch: all -> 0x01f9, TryCatch #0 {, blocks: (B:3:0x0001, B:4:0x000f, B:6:0x0023, B:7:0x0029, B:9:0x0031, B:10:0x0037, B:12:0x004b, B:18:0x0060, B:20:0x0072, B:22:0x0078, B:23:0x0081, B:25:0x009c, B:28:0x00a5, B:30:0x0101, B:37:0x0115, B:39:0x0121, B:41:0x0129, B:43:0x0131, B:45:0x0139, B:61:0x018c, B:63:0x01cc, B:64:0x01d1, B:66:0x01d7, B:67:0x01df, B:69:0x01f0, B:47:0x0141, B:49:0x0159, B:51:0x0161, B:53:0x0165, B:55:0x016d, B:58:0x0183, B:60:0x0189, B:29:0x00de, B:15:0x0057, B:17:0x005d), top: B:75:0x0001, inners: #1, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:69:0x01f0 A[Catch: all -> 0x01f9, TRY_LEAVE, TryCatch #0 {, blocks: (B:3:0x0001, B:4:0x000f, B:6:0x0023, B:7:0x0029, B:9:0x0031, B:10:0x0037, B:12:0x004b, B:18:0x0060, B:20:0x0072, B:22:0x0078, B:23:0x0081, B:25:0x009c, B:28:0x00a5, B:30:0x0101, B:37:0x0115, B:39:0x0121, B:41:0x0129, B:43:0x0131, B:45:0x0139, B:61:0x018c, B:63:0x01cc, B:64:0x01d1, B:66:0x01d7, B:67:0x01df, B:69:0x01f0, B:47:0x0141, B:49:0x0159, B:51:0x0161, B:53:0x0165, B:55:0x016d, B:58:0x0183, B:60:0x0189, B:29:0x00de, B:15:0x0057, B:17:0x005d), top: B:75:0x0001, inners: #1, #2 }] */
    /* JADX WARN: Removed duplicated region for block: B:79:0x0115 A[EXC_TOP_SPLITTER, SYNTHETIC] */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct code enable 'Show inconsistent code' option in preferences
    */
    public synchronized void a(android.content.Context r9) {
        /*
            Method dump skipped, instructions count: 508
            To view this dump change 'Code comments level' option to 'DEBUG'
        */
        throw new UnsupportedOperationException("Method not decompiled: com.tencent.bugly.beta.global.e.a(android.content.Context):void");
    }
}
